/*
 * HeapDebug.h
 *
 *  Created on: 2011-7-23
 *      Author: Donghan
 */

#ifndef HEAPDEBUG_H_
#define HEAPDEBUG_H_

typedef enum HeapDebugInfoType {
    kVirtualHeapSize = 0,
    kNativeHeapSize = 1,
    kVirtualHeapAllocated = 2,
    kNativeHeapAllocated = 3,
} HeapDebugInfoType;

/* Return the specified value.
 * Returns -1 if the type is unknown.
 */
int dvmGetHeapDebugInfo(HeapDebugInfoType info);

#endif /* HEAPDEBUG_H_ */
